package com.lk.web.listener;

import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

public class MySessionListener implements HttpSessionListener {

	public void sessionCreated(HttpSessionEvent se) {
		HttpSession session = se.getSession();
		session.getServletContext();
		System.out.println(">>>>>>>>>>>>>>>session created");
	}

	public void sessionDestroyed(HttpSessionEvent se) {
		System.out.println(">>>>>>>>>>>>>>>session destoryed");
	}
	
}
